From 1a86889a32bce735d66f530129912bbc2b73c042 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Fri, 4 Apr 2008 16:25:03 +0100 Subject: [PATCH] x86: Fix the build. Signed-off-by: Keir Fraser --- xen/drivers/passthrough/amd/iommu_map.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/drivers/passthrough/amd/iommu_map.c b/xen/drivers/passthrough/amd/iommu_map.c index 24ff5eacb8..aa584e615f 100644 --- a/xen/drivers/passthrough/amd/iommu_map.c +++ b/xen/drivers/passthrough/amd/iommu_map.c @@ -505,7 +505,7 @@ int amd_iommu_sync_p2m(struct domain *d) int ir = IOMMU_IO_READ_ENABLED; if ( !is_hvm_domain(d) ) - return; + return 0; hd = domain_hvm_iommu(d); -- 2.30.2